<!-- TinyMCE -->
<script type="text/javascript" src="../../../asset/scripts/tiny_mce/tiny_mce.js"></script>
<script type="text/javascript">
	tinyMCE.init({
		// General options
		mode : "textareas",
		theme : "simple",
		plugins : "paste",

		theme_advanced_toolbar_location : "top", 
		theme_advanced_toolbar_align : "left",
		theme_advanced_statusbar_location : "bottom",
		theme_advanced_resizing : true
	});	
</script>
{mstrstock}
<form method="post" name="frmEdit" action="<?php echo site_url('mstrstockcontroller/ubahmstrstock');?>">
    <h3 align="center"><u><strong>EDIT DAFTER JUMLAH STOCK</strong></u> </h3>
    <table width="100%" cellpadding="3" cellspacing="0" border="1">
    	<tr>
            <td width="154"><strong>Kode Stock</strong></td>
            <td width="9" align="center"><strong>:</strong></td>
            <td width="893" colspan="3"><input type="text"  name="kdstock" id="kdstock" maxlength="12" size="25" value="{KodeStok}" readonly="readonly"/></td>
        </tr>
        <tr>
            <td width="154"><strong>Nama Supplier</strong></td>
            <td width="9" align="center"><strong>:</strong></td>
            <td width="893" colspan="3">
            	<input type="text"  name="nmsupp" id="nmsupp" maxlength="12" size="25" value="{suppliername}" readonly="readonly"/>
                <input type="hidden"  name="kdsupp" id="kdsupp" maxlength="12" size="25" value="{Kodesupplier}" readonly="readonly"/>
                </td>
        </tr>
        <tr>
            <td width="154"><strong>Nama Barang</strong></td>
            <td width="9" align="center"><strong>:</strong></td>
            <td width="893" colspan="3">
            	<input type="text"  name="nmbrg" id="nmbrg" maxlength="12" size="25" value="{Productname}" readonly="readonly"/>
                <input type="hidden"  name="kdbrng" id="kdbrng" maxlength="12" size="25" value="{KodeDetailBarang}" readonly="readonly"/>
			</td>
        </tr>
        <!--<tr>
            <td width="150">Stock Awal</td>
            <td width="12">:</td>
            <td ><input type="text"  name="stkawal" id="stkawal" size="25" maxlength="11" value="{StockAwal}"/></td>
        </tr>-->
        <tr>
			<td width="150"><strong>Jumlah stock</strong></td>
            <td width="12" align="center"><strong>:</strong></td>
            <td>
                <input type="text"  name="stkakhir" id="stkakhir" size="25" maxlength="11" value="{StockAkhir}"/>
            </td>
		</tr>
        <tr>
            <td colspan="3" align="center"><input type="submit" value="Save" name="btnSave" >&nbsp;<input type="button" name="btnClose" value="Back" class="btn" onclick="javascript:history.back(1);" /></td>
        </tr>
    </table>
</form>
{/mstrstock}